package com.numberone.master.modules.card.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.numberone.master.common.persistence.DataEntity;

/**
 * 流量卡余额Entity
 * @author ck
 * @version 2018-07-11
 */
public class CardAmount extends DataEntity<CardAmount> {
	
	private static final long serialVersionUID = 1L;
	private String iccid;		// 流量卡iccid
	private String autoTopUp;		// 0:否 1：是
	private Double availableAmount;		// 可用金额
	private Double freezingAmount;		// 冻结金额
	private Date createTime;		// 录入时间
	private String warning;//预警值
	private String cardId;//卡号
	public String getIccid() {
		return iccid;
	}
	public void setIccid(String iccid) {
		this.iccid = iccid;
	}
	public String getAutoTopUp() {
		return autoTopUp;
	}
	public void setAutoTopUp(String autoTopUp) {
		this.autoTopUp = autoTopUp;
	}
	
	public Double getAvailableAmount() {
		return availableAmount;
	}
	public void setAvailableAmount(Double availableAmount) {
		this.availableAmount = availableAmount;
	}
	public Double getFreezingAmount() {
		return freezingAmount;
	}
	public void setFreezingAmount(Double freezingAmount) {
		this.freezingAmount = freezingAmount;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getWarning() {
		return warning;
	}
	public void setWarning(String warning) {
		this.warning = warning;
	}
	public String getCardId() {
		return cardId;
	}
	public void setCardId(String cardId) {
		this.cardId = cardId;
	}
	
	
	
}